package com.wuxiaofan.service;

import com.wuxiaofan.entity.IntegralInfo;
import com.wuxiaofan.mapper.IntegralInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class IntegralInfoService {


    @Autowired
    private IntegralInfoMapper integralInfoMapper;


    public IntegralInfo findById(String id){
        return integralInfoMapper.selectById(id);
    }

    public void updateByMap(Map paraMap){
        integralInfoMapper.updateMapById(paraMap);
    }
}
